package com.atguigu.gmall;
/**
 * 网关主启动类
 */

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication //当前项目是一个SpringBoot项目
@EnableDiscoveryClient //把当前应用注册到注册中心
public class GatewayApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApp.class,args);
    }
}